package ConvertedDemo;

import java.io.FileWriter;
import java.io.IOException;
import java.util.Properties;

public class pro03 {
    public static void main(String[] args) throws IOException {
        Properties prop = new Properties();
        prop.put("zhangsan", "151008");
        prop.put("zhangsan5", "151006");
        prop.put("zhangsan1", "151000");
        FileWriter fw = new FileWriter("prop.properties");
        prop.store(fw,null);
        fw.close();


    }
}